# coding: utf-8
import sys
import os
import json

DEBUG = True
os.environ['DEBUG'] = str(DEBUG)


app_name_en = 'bayesian-image-alg'
app_name_cn = '基于贝叶斯反馈的视频检索'
app_version = 'V1.0.0'
author_name = '20175323鞠欣余'
author_org = 'besti'


allowed_extensions = ['jpg', 'jpeg', 'png', 'bmp', 'gif']

base_dir = os.path.abspath(os.path.dirname(__file__))
home_dir = os.path.expanduser('~')
app_config_fp = os.path.join(home_dir, '.qt.{}'.format(app_name_en))
